﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="theme-list.aspx.cs" Inherits="SmartSpace.WebApp._console.core.theme_list"
    MasterPageFile="~/_console/_console.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
    站点模板管理
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <asp:HyperLink ID="_ctlLinkUpload" runat="server" NavigateUrl="~/_console/core/theme-upload.aspx">上传站点模板</asp:HyperLink>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
    <div class="box">
        <h2>已发布模板</h2>
        <div class="block">
            <table class="list">
                <asp:Repeater ID="_ctlList" runat="server">
                    <HeaderTemplate>
                        <thead>
                            <tr>
                                <th>Caption
                                </th>
                                <th>Code
                                </th>
                                <th>Name
                                </th>
                                <th>Package
                                </th>
                                <th>Version
                                </th>
                                <th>Type
                                </th>
                                <th>操作
                                </th>
                            </tr>
                        </thead>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%# Eval("Caption") %>
                            </td>
                            <td>
                                <%# Eval("Code") %>
                            </td>
                            <td>
                                <%# Eval("Name") %>
                            </td>
                            <td>
                                <%# Eval("Package") %>
                            </td>
                            <td>
                                <%# Eval("Version") %>
                            </td>
                            <td>
                                <%# Eval("Type") %>
                            </td>
                            <td>
                                <a href="theme-edit.aspx?id=<%# Eval("Id") %>">修改</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:Repeater>
            </table>
        </div>
    </div>
</asp:Content>
